package com.southminority.ethnic.service.research;

import com.southminority.ethnic.common.result.PageResult;
import com.southminority.ethnic.controller.research.vo.ResearchProgressVO;
import com.southminority.ethnic.pojo.ResearchProgress;

import java.util.List;

public interface ResearchProgressAdminService {

    PageResult<ResearchProgressVO> getProgressPageForAdmin(Integer page, Integer size, String keyword, String stage, String researchField, Integer status);

    ResearchProgressVO getProgressDetailForAdmin(Long id);

    ResearchProgressVO createProgress(ResearchProgress progress);

    ResearchProgressVO updateProgress(Long id, ResearchProgress progress);

    boolean deleteProgress(Long id);

    boolean batchDeleteProgress(List<Long> ids);

    boolean updateProgressStatus(Long id, Integer status);

    boolean setProgressFeatured(Long id, Integer isFeatured);

    boolean setProgressTimeline(Long id, Integer isTimeline);

    /**
     * 获取所有研究进展（过滤已删除），用于选择下拉。
     */
    List<ResearchProgressVO> getAllProgressForAdmin();
} 